package com.ruoyi.system.service;

import java.util.Arrays;
import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.system.domain.SysLanguageData;
import com.ruoyi.system.domain.params.SysLanguageDataParams;
import org.springframework.data.repository.query.Param;

/**
 * 语言翻译Service接口
 * 
 * @author ruoyi
 * @date 2022-04-26
 */
public interface ISysLanguageDataService
{
    /**
     * 查询语言翻译
     * 
     * @param id 语言翻译主键
     * @return 语言翻译
     */
    public SysLanguageData selectSysLanguageDataById(Long id);

    /**
     * 查询语言翻译列表
     * 
     * @param sysLanguageData 语言翻译
     * @return 语言翻译集合
     */
    public Page<SysLanguageData> selectSysLanguageDataList(Page<SysLanguageData> page, SysLanguageData sysLanguageData);

    /**
     * 新增语言翻译
     * 
     * @param sysLanguageData 语言翻译
     * @return 结果
     */
    public int insertSysLanguageData(SysLanguageDataParams sysLanguageData);

    /**
     * 修改语言翻译
     * 
     * @param sysLanguageData 语言翻译
     * @return 结果
     */
    public int updateSysLanguageData(SysLanguageData sysLanguageData);


    /**
     * 删除语言翻译信息
     * 
     * @param id 语言翻译主键
     * @return 结果
     */
    public int deleteSysLanguageDataById(Long id);

    /**
     *
     */
    public SysLanguageData selectByRef(Long refId, String refType);

}